package com.lagou.dao.pojo;

import java.util.Date;

public class AuthCode {

    int id;
    String email;
    String code;
    Date createtime;
    Date expiretime;

    @Override
    public String toString() {
        return "AuthCode{" +
                "email='" + email + '\'' +
                ", code='" + code + '\'' +
                ", createtime=" + createtime +
                ", expiretime=" + expiretime +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getExpiretime() {
        return expiretime;
    }

    public void setExpiretime(Date expiretime) {
        this.expiretime = expiretime;
    }
}
